public class Lader {
    double above;   //上底
    double bottom;  //下底
    double height;  //高
    double getArea(){  //定义方法computerArea
    return (above+bottom)*height/2;
    }

  }
